package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Region;
import cn.wolfcode.trip.base.domain.Strategy;
import cn.wolfcode.trip.base.domain.User;
import cn.wolfcode.trip.base.query.QueryObject;
import cn.wolfcode.trip.base.query.UserProfilesQueryObject;
import cn.wolfcode.trip.base.query.UserQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface IStrategyService {
    List<Strategy> listAll();
    PageInfo<Strategy> query(QueryObject qo);
    void saveOrUpdate(Strategy strategy);

    Strategy get(Long strategyId);

    Map<String, Object> getCounts(String keyword);

}
